all:tcpserver tcpclient

tcpserver:tcpserver.cc
	g++ -o $@ $^ -std=c++14 -lpthread

tcpclient:tcpclient.cc
	g++ -o $@ $^ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -rf tcpserver tcpclient